]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
accessDialog: Stop owning portal name
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 20 May 2024 13:21:12 +0000 (15:21 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 20 May 2024 13:34:45 +0000 (13:34 +0000)
We no longer provide a portal implementation, so there's no need
for owning the name. Right now only the gnome portal consumes
the API, and that accesses it under "org.gnome.Shell".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3326>

js/ui/accessDialog.js

index 777fd2b3ccd500353fe5c12ab066d062b0bee213..cd001a6d93de8fcf10878a2a36bf5841d5c7d456 100644 (file)
@@ -136,8 +136,6 @@ export class AccessDialogDBus {
 
         this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this);
         this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop');
-
-        Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null);
     }
 
     AccessDialogAsync(params, invocation) {